// import dark mode scss
@use 'element-plus/theme-chalk/src/dark/css-vars.scss' as *;
@use './base.scss' as *;
@use './nprogress.scss' as *;
@use './transition.scss' as *;
@use './reset.scss' as *;

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  // font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--el-text-color);
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
#app {
  height: 100%;
}

.fw {
  width: 100%;
}

.fh {
  height: 100%;
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.pointer {
  cursor: pointer;
}

.flex {
  display: flex;
}

.flex-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fill {
  flex: 1;
}

.jc-between {
  justify-content: space-between;
}

.ai-center {
  align-items: center;
}

.page-wrapper {
  width: 100%;
  height: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.widget-wrapper {
  height: var(--h-header);
  display: flex;
  align-items: center;
  cursor: pointer;

  .el-dropdown-link:focus {
    outline: none;
  }
}

.app-container {
  background-color: var(--el-bg-color);
  padding: 15px;
}

.el-form-item {
  --font-size: 12px;
  --el-form-label-font-size: var(--font-size);
  margin-bottom: 2px!important;
}
